<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 17-6-8
 * Time: 下午2:58
 */

namespace api\modules\gps\controllers;


use common\models\CarGpsOrder;
use wodrow\yii\rest\Controller;

class BackController extends Controller
{
    /**
     * 报警推送
     * @param string $gps_serial_number 设备编号
     */
    public function actionAlarm($gps_serial_number)
    {
        $r = CarGpsOrder::alarm($gps_serial_number);
        return $r;
    }
}